package com.tms.addressmanagement.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地址管理对象 addressmanagement
 *
 * @author ruoyi
 * @date 2024-10-29
 */
public class Addressmanagement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 地址类型
     */
    @Excel(name = "地址类型")
    private Integer addressType;

    /**
     * 客户
     */
    @Excel(name = "客户")
    private String customerName;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contactPerson;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /**
     * 邮编
     */
    private String postalCode;

    /**
     * 区域
     */
    private String region;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /**
     * 备注信息
     */
    private String remarks;

    /**
     * 日期
     */
    private Date time;

    private String bei;

    public void setBei(String bei) {
        this.bei = bei;
    }

    public String getBei() {return bei;}

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setAddressType(Integer addressType) {
        this.addressType = addressType;
    }

    public Integer getAddressType() {
        return addressType;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRegion() {
        return region;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getTime() {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("addressType", getAddressType())
                .append("customerName", getCustomerName())
                .append("contactPerson", getContactPerson())
                .append("phoneNumber", getPhoneNumber())
                .append("postalCode", getPostalCode())
                .append("region", getRegion())
                .append("detailedAddress", getDetailedAddress())
                .append("remarks", getRemarks())
                .append("time", getTime())
                .append("bei", getBei())
                .toString();
    }
}
